package com.sushi.service;

import com.sushi.repository.entity.OrderEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sushi.response.ResponseBO;
import com.sushi.response.ResponsePageBO;
import com.sushi.response.OrderResp;
import com.sushi.request.OrderReq;
import com.sushi.request.OrderPageReq;

/**
 * 订单 服务类
 * @date 2023-05-02
 * @time 17:15:28
 * @author Administrator
 */
public interface OrderService extends IService<OrderEntity> {

    

    /**
     * 新增
     */
    public ResponseBO<OrderResp> add(OrderReq req);

    /**
     * 逻辑删除
     */
    public ResponseBO<OrderResp> logicRemove(OrderReq req);

    /**
     * 更新
     */
    public ResponseBO<OrderResp> updateByField(OrderReq req);

    /**
     * 列表
     */
    public ResponsePageBO<OrderResp> listByCondition(OrderPageReq req);

    /**
     * 详情
     */
    public ResponseBO<OrderResp> detail(OrderReq req);

;

}